<template>
  <div style="width: 100vw;height: 100vh;overflow: hidden;display: flex; justify-content: space-between">
    <div style="flex: 1;background: black">
      <el-image style="width: 100%; height: 100%" fit="cover" src="../src/assets/loginbg.webp" />
    </div>
    <div class="right-card">
      <router-view v-slot="{Component}">
        <transition name="el-fade-in-linear" mode="out-in">
          <component :is="Component"></component>
        </transition>
      </router-view>
    </div>
  </div>
</template>

<script setup>

</script>

<style  scoped>
.right-card{
  width: 400px;
  z-index: 1;
  background: white;
}
</style>